package com.gupaoedu.vip.netty.io.nio.tomcat.servlet;

import com.gupaoedu.vip.netty.io.nio.tomcat.http.GPRequest;
import com.gupaoedu.vip.netty.io.nio.tomcat.http.GPResponse;
import com.gupaoedu.vip.netty.io.nio.tomcat.http.GPServlet;

/**
 * @program:gupaoedu-vip-netty-io
 * @description:demo1
 * @author:Gongchao
 * @date:2020-04-28
 **/
public class ThirdServlet extends GPServlet {

    @Override
    public void doGet(GPRequest request, GPResponse response) throws Exception {
        this.doPost(request,response);
    }

    @Override
    public void doPost(GPRequest request, GPResponse response) throws Exception {
        response.write("This is ThirdServlet");
    }
}
